package FinalProject

class Platform {
    String name
    String dateOfRelease
    SortedSet<Game> games

    static hasMany = [games: Game]
    static searchable = true;

    static constraints = {
        games(nullable: true)
        dateOfRelease(nullable: true)
    }
}
